package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.TrainingCadetClassicsExperience;
import com.ruoyi.system.domain.TrainingCadetClassicsExperience;
import com.ruoyi.system.domain.TrainingCadetClassicsExperienceCount;
import com.ruoyi.system.domain.TrainingCadetTeacherExperience;

/**
 * 学习典籍体会Service接口
 * 
 * @author dp
 * @date 2023-11-27
 */
public interface ITrainingCadetClassicsExperienceService 
{
    /**
     * 查询学习典籍体会
     * 
     * @param experienceId 学习典籍体会主键
     * @return 学习典籍体会
     */
    public TrainingCadetClassicsExperience selectTrainingCadetClassicsExperienceByExperienceId(Long experienceId);

    /**
     * 查询学习典籍体会列表
     * 
     * @param trainingCadetClassicsExperience 学习典籍体会
     * @return 学习典籍体会集合
     */
    public List<TrainingCadetClassicsExperience> selectTrainingCadetClassicsExperienceList(TrainingCadetClassicsExperience trainingCadetClassicsExperience);

    /**
     * 查询学习典籍体会合计列表
     * @param submitBegin
     * @param submitEnd
     * @param baseId
     * @param experienceStatus
     * @param cadetId
     * @param cadetName
     * @return
     */
    public List<TrainingCadetClassicsExperienceCount> selectTrainingCadetClassicsExperienceCount(
            String submitBegin, String submitEnd, String baseId, String experienceStatus, Long cadetId, String cadetName);


    public List<TrainingCadetClassicsExperience> getExperienceList(String submitBegin, String submitEnd, String baseId, String cadetId, String experienceStatus);

    /**
     * 新增学习典籍体会
     * 
     * @param trainingCadetClassicsExperience 学习典籍体会
     * @return 结果
     */
    public int insertTrainingCadetClassicsExperience(TrainingCadetClassicsExperience trainingCadetClassicsExperience);

    /**
     * 修改学习典籍体会
     * 
     * @param trainingCadetClassicsExperience 学习典籍体会
     * @return 结果
     */
    public int updateTrainingCadetClassicsExperience(TrainingCadetClassicsExperience trainingCadetClassicsExperience);

    /**
     * 批量删除学习典籍体会
     * 
     * @param experienceIds 需要删除的学习典籍体会主键集合
     * @return 结果
     */
    public int deleteTrainingCadetClassicsExperienceByExperienceIds(Long[] experienceIds);

    /**
     * 删除学习典籍体会信息
     * 
     * @param experienceId 学习典籍体会主键
     * @return 结果
     */
    public int deleteTrainingCadetClassicsExperienceByExperienceId(Long experienceId);

    /**
     * 实体数据补全
     *
     * @param trainingCadetClassicsExperience 实体
     * @param userId       用户id
     * @param crateType    创建类型 1：新增 2：修改
     */
    public void completeData(TrainingCadetClassicsExperience trainingCadetClassicsExperience, Long userId, Integer crateType);
}
